<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>test</title>
		<link rel="stylesheet" href="css/bootstrap.css" />
		<link rel="stylesheet" href="css/test.css" />
		<script type="text/javascript" src="js/jquery.js" ></script>
		<script type="text/javascript" src="js/bootstrap.min.js" ></script>
		
		<script>
			$(function(){
				$("#clear").click(function(){
					$("#testinput").empty();
				})
			})
		</script>
	</head>
	<body>
		<input id="testinput" name="name" value="" style="min-width: 300px;">
		<a id="clear" > 清楚</a>
	</body>
</html>
